package com.hand.service.impl;

import com.hand.dao.UserDao;
import com.hand.pojo.User;
import com.hand.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by 86136 on 2019/7/15.
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    @Resource(name = "userDao")
    private UserDao userDao;

    @Override
    public User getUser() {
        return userDao.getUser();
    }
}
